using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN CanBoLopService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: CanBoLopService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class CanBoLopService : ICanBoLopService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: CanBoLop_ID</para>
		/// <para>Output: CanBoLopEntity</para>
		///</summary>
		public CanBoLopEntity SelectOne(int CanBoLop_ID){
			CanBoLopDAO dao = new CanBoLopDAO();
			return dao.SelectOne(CanBoLop_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of CanBoLopEntity</para>
		///</summary>
		public List<CanBoLopEntity> SelectAll(){
			CanBoLopDAO dao = new CanBoLopDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			CanBoLopDAO dao = new CanBoLopDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of CanBoLopEntity</para>
		///</summary>
		public List<CanBoLopEntity> SelectAllFilter(string strFilter){
			CanBoLopDAO dao = new CanBoLopDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			CanBoLopDAO dao = new CanBoLopDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: CanBoLopEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(CanBoLopEntity o){
			CanBoLopDAO dao = new CanBoLopDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: CanBoLopEntity</para>
		/// <para>Output: CanBoLopEntity</para>
		///</summary>
		public CanBoLopEntity SaveRet(CanBoLopEntity o){
			CanBoLopDAO dao = new CanBoLopDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of CanBoLopEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<CanBoLopEntity> list){
			CanBoLopDAO dao = new CanBoLopDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of CanBoLopEntity</para>
		/// <para>Output: List of CanBoLopEntity</para>
		///</summary>
		public List<CanBoLopEntity> SaveListRet(List<CanBoLopEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: CanBoLopEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(CanBoLopEntity o){
			CanBoLopDAO dao = new CanBoLopDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of CanBoLopEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<CanBoLopEntity> list){
			CanBoLopDAO dao = new CanBoLopDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateLopSinhVien_ID</para>
		/// <para>Input: NewLopSinhVien_ID,CanBoLop_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateLopSinhVien_ID(int NewLopSinhVien_ID,int CanBoLop_ID){
			CanBoLopDAO dao = new CanBoLopDAO();
			return dao.UpdateLopSinhVien_ID(NewLopSinhVien_ID,CanBoLop_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateLop_ID</para>
		/// <para>Input: NewLop_ID,CanBoLop_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateLop_ID(int NewLop_ID,int CanBoLop_ID){
			CanBoLopDAO dao = new CanBoLopDAO();
			return dao.UpdateLop_ID(NewLop_ID,CanBoLop_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateSinhVien_ID</para>
		/// <para>Input: NewSinhVien_ID,CanBoLop_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateSinhVien_ID(int NewSinhVien_ID,int CanBoLop_ID){
			CanBoLopDAO dao = new CanBoLopDAO();
			return dao.UpdateSinhVien_ID(NewSinhVien_ID,CanBoLop_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateChucVuCanBoLop_ID</para>
		/// <para>Input: NewChucVuCanBoLop_ID,CanBoLop_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateChucVuCanBoLop_ID(int NewChucVuCanBoLop_ID,int CanBoLop_ID){
			CanBoLopDAO dao = new CanBoLopDAO();
			return dao.UpdateChucVuCanBoLop_ID(NewChucVuCanBoLop_ID,CanBoLop_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: CanBoLopEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(CanBoLopEntity o){
			CanBoLopDAO dao = new CanBoLopDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: CanBoLop_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int CanBoLop_ID){
			CanBoLopDAO dao = new CanBoLopDAO();
			return dao.DeleteByID(CanBoLop_ID);
		}
		#endregion

		#region Select join to ChucVuCanBoLopLopSinhVien functions
		#endregion

		#region Select join to ChucVuCanBoLop functions
		#endregion

		#region Select join to LopSinhVien functions
		#endregion

		#region Select,delete by CanBoLop_ID functions
		#endregion

		#region Select,delete by LopSinhVien_ID functions
		#endregion

		#region Select,delete by Lop_ID functions
		#endregion

		#region Select,delete by SinhVien_ID functions
		#endregion

		#region Select,delete by ChucVuCanBoLop_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END CanBoLopWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

